import instance from './instants'
// 登录 
export function getdata() {
    return instance.get("/data")
}
export function deldata(id) {
    return instance.delete(`/data/${id}`)
}
export function getShopdata() {
    return instance.get("/shopdata")
}
export function updateShopdata(obj) {
    return instance.patch(`/shopdata/${obj.id}`,obj)
}

